--受击
---@class Battle.AiEnterStunAction:Battle.AiLeaf
---@field New fun():Battle.AiEnterStunAction
local AiEnterStunAction = Battle.CreateClass("AiEnterStunAction",Battle.AiLeaf)
Battle.AiEnterStunAction = AiEnterStunAction
local t = AiEnterStunAction
function t:onInitialize()
    self:GetActor().actionStateSystem:EnterState(Battle.ActionState.Stun)
end
function t:update(dt)
    return Battle.AiTreeStatus.RUNNING
end
